.class Lcom/estrongs/android/pop/TestActivity$c;
.super Ljava/lang/Object;
.source "TestActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/TestActivity;->A()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/TestActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/TestActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/TestActivity$c;->a:Lcom/estrongs/android/pop/TestActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .annotation build Landroid/annotation/TargetApi;
        value = 0x17
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/TestActivity$c;->a:Lcom/estrongs/android/pop/TestActivity;

    const-string v0, "android.permission.READ_EXTERNAL_STORAGE"

    invoke-virtual {p1, v0}, Landroid/app/Activity;->checkSelfPermission(Ljava/lang/String;)I

    move-result p1

    const/4 v1, 0x1

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/TestActivity$c;->a:Lcom/estrongs/android/pop/TestActivity;

    new-array v2, v1, [Ljava/lang/String;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    invoke-virtual {p1, v2, v1}, Landroid/app/Activity;->requestPermissions([Ljava/lang/String;I)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/TestActivity$c;->a:Lcom/estrongs/android/pop/TestActivity;

    invoke-static {p1, v1}, Lcom/estrongs/android/scanner/job/ESMediaStoreContentJob;->a(Landroid/content/Context;Z)V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/TestActivity$c;->a:Lcom/estrongs/android/pop/TestActivity;

    invoke-static {p1}, Lcom/estrongs/android/pop/TestActivity;->c(Lcom/estrongs/android/pop/TestActivity;)V

    :goto_0
    return-void
.end method
